<%--
  Created by IntelliJ IDEA.
  User: 沐辰
  Date: 2023/9/6
  Time: 20:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page isELIgnored="false" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<html>
<head>
    <title>修改个人信息</title>
  <link href="bootstrap.css" rel="stylesheet">
</head>
<body>
<div class="container">
  <h1>修改个人信息</h1>
  <form method="post" action="${pageContext.request.contextPath}/show?method=updateMsg">
    <div class="form-group">
      <label for="id">编号</label>
      <input type="text" class="form-control" id="id" aria-describedby="emailHelp" name="id" value="${stu.id}" readonly
      >
    </div>
    <div class="form-group">
      <label for="stuName">姓名</label>
      <input type="text" class="form-control" id="stuName" aria-describedby="emailHelp" name="stuName" value="${stu.stuName}"
             >
    </div>

    <div class="form-group">
      <label for="stuNo">学号</label>
      <input type="text" class="form-control" id="stuNo" aria-describedby="emailHelp" name="stuNo" value="${stu.stuNo}"
             >
    </div>

    <div class="form-group">
      <label for="pwd ">密码</label>
      <input type="text" class="form-control" id="pwd " name="pwd" value="${stu.pwd}"
             >
    </div>

    <div class="form-group">
      <label for="idCard">身份证号</label>
      <input type="text" class="form-control" id="idCard" name="idCard" value="${stu.idCard}">
    </div>

    <div class="form-group">
      <label for="startDate">入学时间</label>
      <input type="date" class="form-control" id="startDate" name="startDate" value="${stu.startDate}"
             >
    </div>
<%--    <div class="form-group">--%>
<%--      <label for="status">权限</label>--%>
<%--      <input type="radio"  id="status" name="status" value="1"--%>
<%--             >管理员--%>
<%--      <label for="status2"></label>--%>
<%--      <input type="radio"  id="status2" name="status" value="0"--%>
<%--             >普通用户--%>
<%--    </div>--%>
    <button type="submit" class="btn btn-primary btn-lg btn-block">修改</button>
  </form>
</div>
</body>
</html>
